var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
        {
            "date": "2018-01-10",
            "failNum": 7,
            "totalNum": 14,
            "successNum": 7
        },
        {
            "date": "2018-01-11",
            "failNum": 12,
            "totalNum": 24,
            "successNum": 12
        },
        {
            "date": "2018-01-12",
            "failNum": 27,
            "totalNum": 41,
            "successNum": 14
        },
        {
            "date": "2018-01-13",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-14",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-15",
            "failNum": 103,
            "totalNum": 118,
            "successNum": 15
        },
        {
            "date": "2018-01-16",
            "failNum": 10,
            "totalNum": 29,
            "successNum": 19
        },
        {
            "date": "2018-01-17",
            "failNum": 10,
            "totalNum": 21,
            "successNum": 11
        },
        {
            "date": "2018-01-18",
            "failNum": 4,
            "totalNum": 20,
            "successNum": 16
        },
        {
            "date": "2018-01-19",
            "failNum": 3,
            "totalNum": 12,
            "successNum": 9
        },
        {
            "date": "2018-01-20",
            "failNum": 0,
            "totalNum": 1,
            "successNum": 1
        },
        {
            "date": "2018-01-21",
            "failNum": 0,
            "totalNum": 1,
            "successNum": 1
        },
        {
            "date": "2018-01-22",
            "failNum": 0,
            "totalNum": 8,
            "successNum": 8
        },
        {
            "date": "2018-01-23",
            "failNum": 6,
            "totalNum": 7,
            "successNum": 1
        },
        {
            "date": "2018-01-24",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-25",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-26",
            "failNum": 0,
            "totalNum": 1,
            "successNum": 1
        },
        {
            "date": "2018-01-27",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-28",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-29",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-01-30",
            "failNum": 9,
            "totalNum": 15,
            "successNum": 6
        },
        {
            "date": "2018-01-31",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-01",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-02",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-03",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-04",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-05",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-06",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        },
        {
            "date": "2018-02-07",
            "failNum": 3,
            "totalNum": 4,
            "successNum": 1
        },
        {
            "date": "2018-02-08",
            "failNum": 2,
            "totalNum": 2,
            "successNum": 0
        },
        {
            "date": "2018-02-09",
            "failNum": 0,
            "totalNum": 0,
            "successNum": 0
        }
    ]
})
}
